# -*- coding: utf-8 -*-
# @version : 1.0
# @File    : urls.py
# @Date    : 2024/9/13 09:47
# @Author  : GlenZhao
# @Desc    : 路由文件

from apps.auth.user.views import app as auth_user_app
from apps.auth.menu.views import app as auth_menu_app
from apps.license.views import app as license_app
from apps.job.views import app as job_app
from apps.statistics.views import app as statistics_app
from apps.sse.views import app as sse_app
from apps.ws.views import app as ws_app

# 引入应用中的路由
urlpatterns = [
    {"ApiRouter": auth_user_app, "prefix": "/auth", "tags": ["用户管理"]},
    {"ApiRouter": auth_menu_app, "prefix": "/auth", "tags": ["菜单管理"]},
    {"ApiRouter": license_app, "prefix": "/license", "tags": ["授权管理"]},
    {"ApiRouter": job_app, "prefix": "/job", "tags": ["任务管理"]},
    {"ApiRouter": statistics_app, "prefix": "/statistics", "tags": ["统计管理"]},
    {"ApiRouter": sse_app, "prefix": "/sse", "tags": ["SSE"]},
    {"ApiRouter": ws_app, "prefix": "/ws", "tags": ["Websocket"]},
]
